
package com.be.beadmin.service.repository;

import com.be.beadmin.service.entity.FactoryCalendar;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author chenwei
* @date 2023-02-22
**/
public interface FactoryCalendarRepository extends JpaRepository<FactoryCalendar, String>, JpaSpecificationExecutor<FactoryCalendar> {

    FactoryCalendar findFactoryCalendarByIdAndDelete(String id, Integer delete);

    FactoryCalendar findFactoryCalendarByCalendarCodeAndDelete(String calendarCode, Integer delete);

    FactoryCalendar findFactoryCalendarById(String id);

}